const routes = [
  { 
    path: '/',
    redirect: '/example',
  },
  {
    path: '/example',
    redirect: '/example/front-page',
    component: () => import('@/views/index.vue'),
    children: [
      {
        path: '/example/front-page',
        component: () => import('@/views/example/front-page.vue'),
      },
      {
        path: '/example/dv-page',
        component: () => import('@/views/example/dv-page.vue'),
      },
      {
        path: '/example/dv-box',
        component: () => import('@/views/example/dv-box.vue'),
      },
      {
        path: '/example/chart-desc',
        component: () => import('@/views/example/chart-desc.vue'),
      },
      {
        path: '/example/dv-chart',
        component: () => import('@/views/example/dv-chart.vue'),
      },
      {
        path: '/example/dv-chart-line',
        component: () => import('@/views/example/dv-chart-line.vue'),
      },
      {
        path: '/example/dv-chart-bar',
        component: () => import('@/views/example/dv-chart-bar.vue'),
      },
      {
        path: '/example/dv-chart-pie',
        component: () => import('@/views/example/dv-chart-pie.vue'),
      },
      {
        path: '/example/dv-chart-ring',
        component: () => import('@/views/example/dv-chart-ring.vue'),
      },
      {
        path: '/example/dv-chart-radar',
        component: () => import('@/views/example/dv-chart-radar.vue'),
      },
      {
        path: '/example/dv-chart-cloud',
        component: () => import('@/views/example/dv-chart-cloud.vue'),
      },
      {
        path: '/example/dv-chart-map',
        component: () => import('@/views/example/dv-chart-map.vue'),
      },
      {
        path: '/example/extend-use',
        component: () => import('@/views/example/extend-use.vue'),
      },
      {
        path: '/example/dv-marquee',
        component: () => import('@/views/example/dv-marquee.vue'),
      }
    ]
  },
  {
    path: '/test',
    component: () => import('@/views/test1.vue')
  },
  {
    path: '/test2',
    component: () => import('@/views/test2.vue')
  },
  {
    path: '/test3',
    component: () => import('@/views/test3.vue')
  },
  {
    path: '/test4',
    component: () => import('@/views/test4.vue')
  },
  {
    path: '/test5',
    component: () => import('@/views/test5.vue')
  },
  {
    path: '/test6',
    component: () => import('@/views/test6.vue')
  },
  {
    path: '/test7',
    component: () => import('@/views/test7.vue')
  },
  {
    path: '/test8',
    component: () => import('@/views/test8.vue')
  },
  {
    path: '/test9',
    component: () => import('@/views/test9.vue')
  },
  {
    path: '/test10',
    component: () => import('@/views/test10.vue')
  },
  {
    path: '/test11',
    component: () => import('@/views/test11.vue')
  },
  {
    path: '/test12',
    component: () => import('@/views/test12.vue')
  },
  {
    path: '/test13',
    component: () => import('@/views/test13.vue')
  }
]

export default routes